<div class="layui-tab-item">
    <form class="layui-form" action="">
        <div class="layui-input-inline"  style="display: none;">
            <select lay-verify="" type="hidden"></select>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">SMTP服务</label>
            <div class="layui-input-block">
                <input type="text" value="#option('SMTP_SERVER')" name="SMTP_SERVER" placeholder="请输入SMTP服务器,如smtp.126.com" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">邮箱账户</label>
            <div class="layui-input-block">
                <input type="text" value="#option('SMTP_EMAIL')" name="SMTP_EMAIL" placeholder="请输入邮箱账户" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">授权码</label>
            <div class="layui-input-block">
                <input type="text" value="#option('SMTP_AUTH')" name="SMTP_AUTH" placeholder="请输入授权码" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">端口</label>
            <div class="layui-input-block">
                <input type="text" value="#option('SMTP_PORT')" name="SMTP_PORT" placeholder="请输入服务端口" autocomplete="off" class="layui-input">
                <p style="color: #4D4D4D">如465,设置完后请同时把服务器对应的端口权限放开,非必要不建议设置25端口,如果是阿里云服务器需要用25端口的话,需要去阿里云申请解封端口</p>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="pear-btn pear-btn-md pear-btn-primary addBtn" lay-submit lay-filter="optionForm2" ><i class="fa fa-check" aria-hidden="true"></i> 保存设置</button>

                <a class="pear-btn pear-btn-md" onclick="sendTestMail()"><i class="fa fa-envelope-o" aria-hidden="true"></i> 发送测试邮件</a>
            </div>
        </div>
    </form>
</div>